<?php defined( '_JEXEC' ) or die( 'Restricted access' ); ?>
<form action="index.php" method="post">
	
	<div class="contentheading">Email review</div>
	<p>&nbsp;</p>
	<p>Fill this form to send this review of <em><?php echo htmlspecialchars($this->review->name) ?></em> to someone you know who will find it useful:</p>
	
	<div>
		<strong>Your name:</strong>
	</div>
	<p>
		<input type="text" name="sender_name" value="" />
	</p>
	
	<div>
		<strong>Your email address:</strong>
	</div>	
	<p>
		<input type="text" name="sender_email" value="" />
	</p>
	
	<div><strong>Recipient's email address:</strong></div>
	<p>
		<input type="text" name="recipient" value="" />
	</p>
		
	<div><strong>Message:</strong></div>
	<p>
		<textarea name="message" rows="4" cols="40"></textarea>
	</p>
	
	<p>
	<input type="submit" value="Send Review" class="button" />
	</p>
	
	<?php echo JHTML::_( 'form.token' ); ?>
	<input type="hidden" name="id" value="<?php  echo $this->review->id; ?>" />
	<input type="hidden" name="task" value="sendemail" />
	<input type="hidden" name="option" value="<?php echo $option; ?>" />
</form>